import styled from "styled-components";

const Wrapper = styled.div`
    .home {
        display: flex;
        flex-flow: row;
        justify-content: space-between;
        margin: 76px auto 0;
        width: 1150px;
    }

    .home .content {
        flex: 1 1 0;
    }

    .header {
        border-radius: 8px;
        border: 1px solid rgb(218, 220, 224);
        padding: 18px;
    }

    .top-handler {
        display: flex;
        justify-content: space-between;
    }

    .top-handler .left {
        font-size: 20px;
        font-family: PingFangSC, PingFangSC-Medium, serif;
        color: rgb(87, 90, 91);
        font-weight: 500;
    }

    .class-box {
        margin: 8px -10px 0;
        display: flex;
        flex-flow: wrap;
        max-height: 320px;
        overflow-y: auto;
        scrollbar-width: none; /* firefox */
        -ms-overflow-style: none; /* IE 10+ */
    }

    .class-box::-webkit-scrollbar {
        display: none; /* Chrome Safari */
    }

    .other-header {
        position: relative;
        padding-top: 12px;
        padding-bottom: 12px;
        font-size: 20px;
        color: rgb(87, 90, 91);
        line-height: 24px;
    }

    .other-header > .right {
        position: absolute;
        right: 0;
        top: 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .other-header .right .search {
        position: relative;
        font-size: 14px;
        display: inline-block;
        width: 100%;
        margin-left: 24px;
    }

    .other-header .right .search input {
        padding-right: 30px;
        height: 36px;
        line-height: 36px;
        border-radius: 51px;
        border: 1px solid #dadce0;
        padding-left: 16px;
    }

    .other-header .right .search img {
        cursor: pointer;
        position: absolute;
        top: 0;
        right: 5px;
        -webkit-transition: all .3s;
        height: 100%;
        color: #c0c4cc;
        text-align: center;
    }

    .other-header .right .search input:focus-visible {
        border: 1px solid #dadce0;
        outline: none;
    }
`;
export default Wrapper